$(function() {
	var data = "";
	var url = urlfile + "coreIntegral/find/all";

	ajaxTool("post",data,url,
		function error(XMLHttpRequest, textStatus, errorThrown,fnErr){
			alert("error:" + XMLHttpRequest);
		},
		function success(data){
			if(!data.success) {
				alert(data.errMsg);
			}else{
				var item = "";
				for(var i=0; i<data.data.length; i ++){
					item +=  '<div class="title_left">'+data.data[i].criglName+'</div>'+
						'<div class="title_Right">+'+data.data[i].criglScore+'</div>'+
						'<div class="content_text">'+data.data[i].criglDesc+'</div>';
				}
				$("#integralContent").html(item);
			}
		}
	);
});